package tech.runchen.gz5055.oms.modules.system.service;

import tech.runchen.gz5055.oms.common.utils.PageInfo;
import tech.runchen.gz5055.oms.modules.system.entity.AddressEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 地址信息表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-10-10
 */
public interface IAddressService extends IService<AddressEntity> {

    PageInfo queryPage(Map<String, Object> params);

    List<AddressEntity> querySelect(Map<String, Object> params);

    AddressEntity queryInfoByAddressId(String addressId);

    boolean saveAddress(AddressEntity address);

    boolean updateAddress(AddressEntity address);

    void deleteAddress(Long addressId);
}
